#pragma once
#include "../Str.h"

class Point3D;

class _ModelDef
{
public:
	virtual bool load(const char *filename);
	virtual void draw(int &index,double scale);
	virtual int getFrameCount();
	virtual bool hasFrames();
	virtual void draw();
};

class Model
{
private:
	int index;
	_ModelDef *model;
	Str filename;
	
public:
	Model();
	Model(const char *filename);
	~Model();
	bool load(const char *filename);
	Model& draw(Point3D pos,double rotX,double rotY,double rotZ);
};